package com.xbang.attendance.service;

import com.xbang.attendance.entity.product.ProductCategory;

/**
 * @author huawei
 * @email alonelaval@gmail.com
 */
public interface ProductCategoryService {
	/***
	 * 根据产品类别名称来判断是否存在该产品
	 * @return
	 * @throws Exception
	 */
	Boolean checkProductCategory(String categoryCode)throws Exception;
	/**
	 * 根据名称得到产品类别
	 * @param categoryName
	 * @return
	 * @throws Exception
	 */
	ProductCategory getCategoryByCode(String categoryCode)throws Exception;
	
}

